import {request} from "umi";

export const upload = (data) => {
  console.log(data);
  return request('http://127.0.0.1:8082/file/upload',{
    method: "post",
    data
  })
};
